package cn.elead.chaos.framework.file.exception;

import cn.elead.chaos.framework.web.global.ErrorCodeEnum;

/**
 * 文件名称超长限制异常类
 * 
 * @author ruoyi
 */
public class FileNameLengthLimitExceededException extends FileException {
	private static final long serialVersionUID = 1L;

	public FileNameLengthLimitExceededException(int defaultFileNameLength) {
		super(ErrorCodeEnum.BAD_REQUEST.convert("upload.filename.exceed.length:" + defaultFileNameLength));
	}
}
